@import "~assets/styles/_bootstrap";

.active-friend-page {

  .use {
    background: linear-gradient(#ed6243, #ed524e);
    line-height: rem(40);
    padding: rem(15px) rem(20px);
    margin-bottom: rem(10px);
    color: #fff;

    > p {
      font-size: rem(16px);
    }

    > span {
      font-size: rem(45px);
    }
  }

  .profile {
    position: relative;
    line-height: rem(25px);
    padding: rem(10px) rem(20px);
    margin-bottom: rem(10px);
    background: #fff;
    color: #999;
    font-size: rem(14px);

    .title {
      color: #333;
      font-size: rem(16px);
    }

    .need {

      .price {
        float: right;
        height: rem(25px);
        line-height: rem(25px);
        font-size: rem(30px);
        color: #ec5151;
      }
    }
  }

  .input {
    position: relative;
    padding: 0 rem(20px);
    margin-bottom: rem(10px);
    background: #fff;
    color: #999;
    font-size: rem(14px);

    .title {
      height: rem(40px);
      line-height: rem(40px);
      color: #333;
      font-size: rem(16px);
    }

    > input {
      display: block;
      width: 100%;
      height: rem(40px);
      padding: 0 rem(10px);
      border: 1px solid #eae9e9;
      font-size: rem(16px);
      border-radius: rem(5px);
    }

    .vali {
      text-align: right;

      > a {
        display: inline-block;
        height: rem(40px);
        line-height: rem(40px);
        padding-left: rem(10px);
        color: #4399fc;
      }
    }
  }

  .friend {
    display: flex;
    padding: rem(10px) rem(20px);
    background: #fff;

    .avatar {
      flex: 0 0 rem(50px);
      width: rem(50px);
      height: rem(50px);
      border-radius: 50%;
      overflow: hidden;

      > img {
        display: block;
        width: 100%;
        height: 100%;
        vertical-align: top;
      }
    }

    .name {
      flex: 1;
      height: rem(50px);
      line-height: rem(50px);
      padding-left: rem(15px);
      font-size: rem(14px);
    }

    .chat {
      flex: 0 0 rem(50px);
      width: rem(50px);
      height: rem(50px);
      text-align: center;

      > a {
        display: block;

        > i {
          display: block;
          height: rem(30px);
          line-height: rem(30px);
          font-size: rem(30px);
          color: #e94f38;
        }

        > span {
          display: block;
          height: rem(20px);
          line-height: rem(20px);
        }
      }
    }
  }

  .tips {
    height: rem(40px);
    line-height: rem(40px);
    padding: 0 rem(20px);
    color: #999;

    > span {
      display: inline-block;
    }

    .tip {
      float: right;

      > i {
        display: inline-block;
        height: rem(40px);
        line-height: rem(40px);
        margin-left: rem(5px);
        color: #4399fc;
        font-size: rem(18);
        vertical-align: top;
      }
    }
  }

  .submit {
    padding: rem(60px) rem(20px) rem(20px);

    > a {
      display: block;
      height: rem(35px);
      line-height: rem(35px);
      text-align: center;
      background: #d44443;
      color: #fff;
      font-size: rem(15px);
      border-radius: rem(5px);
    }
  }
}